package com.xcy.quickhand.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2023/12/20 22:55
 */
@NoArgsConstructor
@Data
public class FollowerResponse {

    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("visionProfileUserList")
        private VisionProfileUserListDTO visionProfileUserList;

        @NoArgsConstructor
        @Data
        public static class VisionProfileUserListDTO {
            @JsonProperty("result")
            private Integer result;
            @JsonProperty("fols")
            private List<FolsDTO> fols;
            @JsonProperty("hostName")
            private String hostName;
            @JsonProperty("pcursor")
            private String pcursor;
            @JsonProperty("__typename")
            private String typename;

            @NoArgsConstructor
            @Data
            public static class FolsDTO {
                @JsonProperty("user_name")
                private String userName;
                @JsonProperty("headurl")
                private String headurl;
                @JsonProperty("user_text")
                private String userText;
                @JsonProperty("isFollowing")
                private Boolean isFollowing;
                @JsonProperty("user_id")
                private String userId;
                @JsonProperty("__typename")
                private String typename;
            }
        }
    }
}
